Skip to content

Reduce version check polling frequency from 5s to 1h#2886

Merged
ramonsmits merged 1 commit intomasterfrom
reduce-version-polling-frequency
Mar 16, 2026
Merged

Reduce version check polling frequency from 5s to 1h#2886
ramonsmits merged 1 commit intomasterfrom
reduce-version-polling-frequency

Conversation

@ramonsmits
Copy link
Member

The environment and versions store was polling SC root endpoint, monitoring version, and platformupdate.particular.net every 5 seconds. These values are effectively static during a session, so hourly refresh is sufficient. This dramatically reduces noise in the browser devtools network tab.

Reviewer Checklist

  • Components are broken down into sensible and maintainable sub-components.
  • Styles are scoped to the component using it. If multiple components need to share CSS, then a .css file is created containing the shared CSS and imported into component scoped style sections.
  • Naming is consistent with existing code, and adequately describes the component or function being introduced
  • Only functions utilizing Vue state or lifecycle hooks are named as composables (i.e. starting with 'use');
  • No module-level state is being introduced. If so, request the PR author to move the state to the corresponding Pinia store.

The environment and versions store was polling SC root endpoint,
monitoring version, and platformupdate.particular.net every 5 seconds.
These values are effectively static during a session, so hourly refresh
is sufficient. This dramatically reduces noise in the browser network tab.
@ramonsmits ramonsmits self-assigned this Mar 13, 2026
@ramonsmits ramonsmits requested a review from cquirosj March 13, 2026 23:44
Copy link
Member

@johnsimons johnsimons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me, good catch @ramonsmits 👍

@dvdstelt dvdstelt added this to the 2.6.1 milestone Mar 16, 2026
@ramonsmits ramonsmits added the Type: Improvement Type: Improvement label Mar 16, 2026
@ramonsmits ramonsmits modified the milestones: 2.6.1, vNext (2.7.0?) Mar 16, 2026
@ramonsmits ramonsmits merged commit a7c8f8f into master Mar 16, 2026
5 checks passed
@ramonsmits ramonsmits deleted the reduce-version-polling-frequency branch March 16, 2026 13:05
@ramonsmits ramonsmits modified the milestones: vNext (2.7.0?), 2.6.1 Mar 16, 2026
@ramonsmits ramonsmits changed the title Reduce version polling frequency from 5s to 1h Reduce version check polling frequency from 5s to 1h Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Improvement Type: Improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants